home *** CD-ROM | disk | FTP | other *** search
- Path: belle.bork.com!news
- From: scottr@belle.bork.com (Randy Scott)
- Newsgroups: comp.lang.c++,rec.games.programmer,alt.msdos.programmer,comp.programming
- Subject: Re: Young programmers read me.
- Followup-To: comp.lang.c++,rec.games.programmer,alt.msdos.programmer,comp.programming
- Date: 16 Apr 1996 19:24:06 -0500
- Organization: Bork Systems Group
- Message-ID: <4l1dn6$j3@belle.bork.com>
- References: <4icpp9$7hr@barad-dur.nas.com> <4keejc$lpi@tpd.dsccc.com> <Pine.OSF.3.91.960411093444.20958D-100000@bud.cc.swin.edu.au> <4kmfqn$e0f@airdmhor.gen.nz> <4kubt3$2jk@plains.nodak.edu> <4l0c8p$rvp@fountain.mindlink.net>
- NNTP-Posting-Host: belle.bork.com
- X-Newsreader: TIN [UNIX 1.3 BETA-950824-color PL0]
-
- Gene Wirchenko (genew@mindlink.bc.ca) wrote:
- : >Try this:
- : > if(something_happened) do_something_else();
- :
- : Not as clear as it should be by my standards. YMMV.
-
- NOT CLEAR? Hello? That piece of code is just about as clear as it
- gets!
-
- : >or this:
- : > if(something_happened)
- : > { do_something_else(); }
- :
- : Extraneous braces cause pause.
-
- I would have to agree, use braces only when absolutely necessary.
-
-
- Randy Scott
-